//ver 0.1 by Jeroen W date: 4-01-08: basic implementation by isolation
package mazeAssignment;

class CoordinatePair { 
		public int x, y;
		public CoordinatePair(int xa, int ya)
		{
			x=xa;
			y=ya;
		}
		public boolean equals(CoordinatePair p)
		{
			return (p.x == this.x && p.y == this.y);
		}
		public boolean equals(Object o)
		{
			if(o.getClass().equals(this.getClass()))
			{
				return false;
			}
			CoordinatePair p = (CoordinatePair) o;
			return this.equals(p);
		}

}
